<div class="blade-content" id="blade-content">
  <div class="blade-static">
    <div class="form-group">
      <div class="form-input __search">
        <input id="searchBox" name="searchBox" placeholder="查询数据字典的键..." #searchBox (keyup)="onSearch(searchBox.value)" type="text">
      </div>
    </div>
  </div>
  <div class="blade-content __medium-wide">
    <div class="blade-inner">
      <div class="inner-block">
        <div class="table-wrapper">
          <table class="table">
            <thead>
              <tr>
                <th class="table-col">
                  <label class="form-control __checkbox">
                    <input (click)="onAllCheack($event.target)" [(ngModel)]="isAllChecked" #allCheckRef name="allCheck" id="allCheck" type="checkbox">
                    <span class="check"></span>
                  </label>
                </th>
                <th class="table-col">序号</th>
                <th class="table-col">数据字典键</th>
              </tr>
            </thead>
            <tbody>
              <tr class="table-item" title='{{item.keyDesc}}' [ngClass]="{'__selected': currentEntity?.keyId == item.keyId}" *ngFor="let item of setofkeys let i =index ">
                <td class="table-col">
                  <label class="form-control __checkbox">
                    <input (click)="onItemCheack($event.target,item)" type="checkbox" [checked]="allCheckRef.checked||item.isChecked">
                    <span class="check"></span>
                  </label>
                </td>
                <td class="table-col" (click)="onSeletedChange(item)">
                  {{i+1}}
                </td>
                <td class="table-col" (click)="onSeletedChange(item)">
                  <span class="table-t"> {{item.keyCode}} </span>
                  <span class="table-descr"> {{item.keyDesc}}</span>
                  
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
  </div>
</div>